package net.dengzixu.java.homework.period21;

/**
 * @author Deng Zixu <admin@dengzixu.com>
 */
public class Test {
    public static void main(String[] args) {
        new Test().showInfo(new Milk(2.8, 20, 2.3));
    }

    public void showInfo(Goods g) {
        System.out.println(g);
    }
}
